﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using Microsoft.Exchange.WebServices.Data;
using Thor.Exchange.Interop;

namespace Thor.Exchange.Interop.Exchange2007
{
    public class CalendarProvider : ExchangeCalendarProviderBase
    {
        protected override ExchangeService GetService(NetworkCredential credential, string serviceUrl)
        {
            return new ExchangeService(ExchangeVersion.Exchange2007_SP1) { Credentials = credential, Url = new Uri(serviceUrl) };
        }
    }
}
